/**
 * 
 */
package co.fitstart.entity.user.profile;

import javax.persistence.Column;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;

import co.fitstart.entity.user.enums.AwareChannel;
import co.fitstart.entity.user.enums.FollowChannel;
import co.fitstart.entity.user.enums.VisitChannel;

/**
 * @author downpour
 *
 */
public class UserRemark {
    
    /** 公司 */
    private String company;
    
    /** 职位 */
    private String position;
    
    /** 薪资范围 */
    private String salary;
    
    /** 来访渠道 */
    @Enumerated(EnumType.ORDINAL)
    private VisitChannel visitChannel;
    
    /** 如何得知人马君 */
    @Enumerated(EnumType.ORDINAL)
    private AwareChannel awareChannel;
    
    /** 关注健身讯息渠道 */
    @Enumerated(EnumType.ORDINAL)
    private FollowChannel followChannel;
    
    /** 个人信息备注 */
    @Column(name = "remarks")
    private String description;

    public UserRemark() {
        
    }

    /**
     * 
     * @param position
     * @param salary
     * @param description
     */
    public UserRemark(String position, String salary, String description) {
        this.position = position;
        this.salary = salary;
        this.description = description;
    }

    /**
     * 
     * @param remark
     * @return
     */
    public UserRemark editRemark(UserRemark remark) {
    	this.position = remark.getPosition();
    	this.salary = remark.getSalary();
    	this.description = remark.getDescription();
    	return this;
    }

    /**
     * @return the company
     */
    public String getCompany() {
        return company;
    }

    /**
     * @return the position
     */
    public String getPosition() {
        return position;
    }

    /**
     * @return the salary
     */
    public String getSalary() {
        return salary;
    }

    /**
     * @return the visitChannel
     */
    public VisitChannel getVisitChannel() {
        return visitChannel;
    }

    /**
     * @return the awareChannel
     */
    public AwareChannel getAwareChannel() {
        return awareChannel;
    }

    /**
     * @return the followChannel
     */
    public FollowChannel getFollowChannel() {
        return followChannel;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param company the company to set
     */
    public void setCompany(String company) {
        this.company = company;
    }

    /**
     * @param position the position to set
     */
    public void setPosition(String position) {
        this.position = position;
    }

    /**
     * @param salary the salary to set
     */
    public void setSalary(String salary) {
        this.salary = salary;
    }

    /**
     * @param visitChannel the visitChannel to set
     */
    public void setVisitChannel(VisitChannel visitChannel) {
        this.visitChannel = visitChannel;
    }

    /**
     * @param awareChannel the awareChannel to set
     */
    public void setAwareChannel(AwareChannel awareChannel) {
        this.awareChannel = awareChannel;
    }

    /**
     * @param followChannel the followChannel to set
     */
    public void setFollowChannel(FollowChannel followChannel) {
        this.followChannel = followChannel;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
}
